{if $lbad_list}
{~ui('loader')->css('@jquery.smallslider')}
{~ui('loader')->js('@jquery.smallslider')}
<div id="adImageSlider" class="smallslider">
<ul>
{loop $lbad_list $id $one}
<li><a href="{$one['ad_link']}" target="_blank"><img src="{$one['ad_img']}" alt="{$one['ad_text']}" width="1190" height="270" /></a></li>
{/loop}
</ul>
</div>
<script type="text/javascript">
$(document).ready(function() {
$('#adImageSlider').smallslider({
time: 3000,
onImageStop: true,
switchEffect: 'ease',
switchPath: 'left',
switchEase: 'easeOutSine',
showText: false,
showButtons: true,
textSwitch: 2,
textAlign: 'left'
});
});
</script>
{/if}